package com.example.service;

import com.example.entity.ComRecruit;
import com.example.entity.Recruit;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cyk
 * @since 2022-02-19
 */
@Service
public interface RecruitService extends IService<Recruit> {

    public List<ComRecruit> getAllRecruit();

    public ComRecruit getAllRecruitById(Long id);

    public Recruit getQueryRecruit(Long id);

    int getDelRecruit(Long id);

    boolean saveRecruit(Recruit recruit);

    boolean updateRecruit(Recruit recruit);
}
